home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / C and C++ / Utilities / Winter Shell 1.0d2 / Source / Libraries / ApplicationLib / ApplicationLib.h < prev   
Encoding:
C/C++ Source or Header  |  1994-01-11  |  923 b   |  26 lines  |  [TEXT/KAHL]

  1. #pragma once
  2.  
  3. #include <stddef.h>
  4. #include "MenuLib.h"
  5.  
  6. /* structure of an application settings resource */
  7. typedef struct {
  8.     long stack;        /* amount of additional stack space needed */
  9.     long reserve;    /* amount of memory to reserve for critical operations */
  10.     long cushion;    /* amount of memory to keep as a memory cushion */
  11.     long minimum;    /* minimum amount of memory to have available to run */
  12.     short masters;    /* number of master pointer blocks to allocate */
  13.     short version;    /* minimum version of system software */
  14. } ApplicationSettingsType, *ApplicationSettingsPtr, **ApplicationSettingsHandle;
  15.  
  16. OSType AppCreator(void);
  17. Boolean AppFilesInit(void);
  18. void AppBegin(void);
  19. void AppEnd(void);
  20. void AppRun(void);
  21. void AppFailed(void);
  22. void ApplicationAdjustMenu(void);
  23. Boolean ApplicationMenu(const MenuPickType *pick);
  24. const /* EventTableType */ void *ApplicationEventTable(void);
  25. void ApplicationEventTableRegister(void);
  26.